package com.game.league.articles.table;

import cn.bmob.v3.BmobObject;

/**
 * 映射类 - 物品表
 * Created by Su on 2019/5/28.
 */
public class Articles extends BmobObject {
    private Integer type;        // 物品类型 ： 1 = 英雄  2= 皮肤； 3 = 道具

    private String imgUrl;        // 商品图片地址
    private String detailUrl;     // 详细信息地址
    private String title;         // 文本介绍
    private float price;        // 价格

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Articles{" +
                "type=" + type +
                ", imgUrl='" + imgUrl + '\'' +
                ", detailUrl='" + detailUrl + '\'' +
                ", title='" + title + '\'' +
                ", price=" + price +
                '}';
    }
}
